package com.ruoyi.finance.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.finance.domain.DTO.KltPurchaseDetailStockDTO;
import com.ruoyi.finance.domain.KltPurchaseDetail;
import com.ruoyi.finance.domain.KltSalesOrder;
import com.ruoyi.finance.domain.VO.CheckOutVO;
import com.ruoyi.finance.domain.VO.PurchaseArrivedVO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * (KltPurchaseDetail)表服务接口
 *
 * @author makejava
 * @since 2024-12-19 12:18:03
 */
public interface KltPurchaseDetailService extends IService<KltPurchaseDetail> {
    List<KltPurchaseDetail> getAllKltPurchaseDetail(Wrapper<KltPurchaseDetail> kltPurchaseDetail);

    List<KltPurchaseDetailStockDTO> getAllKltPurchaseDetailStockList(KltPurchaseDetailStockDTO kltPurchaseDetail);

    Boolean purchaseDetailInsertStock(KltPurchaseDetail kltPurchaseDetail);

    Boolean purchaseDetailDeleteStock(List<Long> idList);

    List<PurchaseArrivedVO> purchaseDetailArrive(KltSalesOrder kltSalesOrder);

    Map<String, Double> getProcurementStatistics(Integer salesOrderId);


}

